package org.example.entity.po;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Author sunyaoyao
 * @Date 2024/6/24 19:54
 */
@Data
@Entity
@Table(name = "t_oss")
public class OSSPO {
    @Id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String ossFileName;

    private String ossFileUrl;

    private String ossHeader;

    private String createTime;

    private String ossFileType;


}
